import {
  OrderStatus
} from '../config';

export const orderTabs = [{
    key: -1,
    text: '全部'
  },
  {
    key: OrderStatus.PENDING_PAYMENT,
    text: '待付款',
    info: ''
  },
  {
    key: OrderStatus.PENDING_DELIVERY,
    text: '待配送',
    info: ''
  },
  {
    key: OrderStatus.DELIVERY,
    text: '配送中',
    info: ''
  },
  {
    key: OrderStatus.COMPLETE,
    text: '已送达',
    info: ''
  },
  // { key: OrderStatus.COMPLETE, text: '已完成', info: '' },
]

export const ticketTabs = [{
  key: -1,
  text: '全部'
}, {
  key: OrderStatus.PENDING_PAYMENT,
  text: '待付款'
}]

export const deliveryTabs = [{
    key: -1,
    text: '全部'
  },
  {
    key: OrderStatus.PENDING_DELIVERY,
    text: '待配送',
    info: ''
  },
  {
    key: OrderStatus.DELIVERY,
    text: '配送中',
    info: ''
  },
  {
    key: OrderStatus.COMPLETE,
    text: '已送达',
    info: ''
  },
]